checkSignature

abstract suspend fun checkSignature(jwt: String): JWT?(source)

Implement this method to check the signature of the JWT and extract its payload

Return

the payload of the JWT if signature is valid, otherwise null

Parameters

jwt

the JWT to validate